/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package compiladores2;

/**
 *
 * @author Yoas
 */
public class Nodo {
    Token dato;
	Nodo sig;
	Nodo ant;
	int posicion;
	public Nodo(){}
	
	public Nodo(Token token,int posicion) {
		this.dato = token;
                this.posicion=posicion;
	}

	@Override
	public String toString() {
		return this.posicion+" "+this.dato+"->";
	}
	
}

